package com.ljh.localmusic.utils

/**
 * author：LJH on 2025/8/15 17:09
 *
 */
sealed class MusicStates{
    object Initial : MusicStates()
    data class MediaBuffering(val progress: Long): MusicStates()
    data class MediaReady(val duration: Long): MusicStates()
    data class MediaProgress(val progress: Long): MusicStates()
    data class MediaPlaying(val isPlaying: Boolean): MusicStates()
    data class CurrentMediaItemIndex(val mediaItemIndex: Int): MusicStates()
    data class AutoChangeMediaItem(val mediaItemIndex: Int): MusicStates()
}